package com.cn.stock.mapper;


import com.cn.dto.StockDTO;
import com.cn.stock.entity.Stock;

import java.util.List;

public interface StockMapper {
    List<StockDTO> findAll(Stock stock);

    int add(Stock stock);

    int delete(Stock stock);

    int update(Stock stock);

    StockDTO findByProductId(int ProductId);
}
